package org.link.bean;

/**
 * 
 * project_name:forumweb
 * package_name:org.link.bean
 * file_name:News.java
 * @author Link
 * create_date:2015年10月22日 上午10:31:49
 * modified_date:
 * description: 公告表实体类
 *
 */
public class News {

	private int id;				//逻辑主键id号
	private String content;		//公告内容
	private String	createTime;	//创建时间
	private int isdelete;		//是否删除
	
	public News() {				//无參构造方法
		super();
	}

	public News(int id, String content, String createTime, int isdelete) {			//全參构造方法
		super();
		this.id = id;
		this.content = content;
		this.createTime = createTime;
		this.isdelete = isdelete;
	}

	public News(String content, String createTime, int isdelete) {				//无逻辑主键id号的构造方法
		super();
		this.content = content;
		this.createTime = createTime;
		this.isdelete = isdelete;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public int getIsdelete() {
		return isdelete;
	}

	public void setIsdelete(int isdelete) {
		this.isdelete = isdelete;
	}

	@Override
	public String toString() {
		return "News [id=" + id + ", content=" + content + ", createTime="
				+ createTime + ", isdelete=" + isdelete + "]";
	}
	
}
